package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesHalo 活动光环
type DanceActivitiesHalo struct {
	Id                      int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	Name                    string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment:活动名字"`                                     // 活动名字
	ActivitiesRules         string         `json:"activitiesRules" gorm:"column:activities_rules;type:varchar(256);not null;default:'';comment:活动规则"`              // 活动规则
	ActivitiesIcon          string         `json:"activitiesIcon" gorm:"column:activities_icon;type:varchar(256);not null;default:'';comment:活动图片"`                // 活动图片
	ActivitiesTimeShowBegin int64          `json:"activitiesTimeShowBegin" gorm:"column:activities_time_show_begin;type:bigint;default:0;not null;comment:活动开始时间"` // 活动开始时间
	ActivitiesTimeShowEnd   int64          `json:"activitiesTimeShowEnd" gorm:"column:activities_time_show_end;type:bigint;default:0;not null;comment:活动开始时间"`     // 活动开始时间
	ActivitiesTimeBegin     int64          `json:"activitiesTimeBegin" gorm:"column:activities_time_begin;type:bigint;default:0;not null;comment:活动开始时间"`          // 活动开始时间
	ActivitiesTimeEnd       int64          `json:"activitiesTimeEnd" gorm:"column:activities_time_end;type:bigint;default:0;not null;comment:活动开始时间"`              // 活动开始时间
	TypeActivities          int            `json:"typeActivities" gorm:"column:type_activities;type:tinyint;default:0;not null;comment:是否缓存 0:光环活动 1:翅膀活动"`        //活动类型
	FinishAt                int64          `json:"finishAt" gorm:"column:finish_at;type:bigint;default:0;not null;comment:脚本结束时间"`                                 // 结束时间
	CreatedId               int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`                               // 创建人id
	CreatedAt               time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt               time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt               gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
